package wnhz.com.business.uitls;

import android.os.Environment;

import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.display.CircleBitmapDisplayer;

import java.io.File;
import java.text.DateFormat;
import java.text.SimpleDateFormat;


public class Confirg {
    public static boolean isRongCloudConnected = false;


    public static DisplayImageOptions options = new DisplayImageOptions.Builder()
            .cacheInMemory(true)
            .cacheOnDisk(true)
            .displayer(new CircleBitmapDisplayer())
            .build();
    public static final String FilesPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/WorksComing/Compress/"; // 图片及其他数据保存文件夹
    public static File compressFile = new File(FilesPath);
    public static final DateFormat df = new SimpleDateFormat("yyyyMMddHHmmssSSS");
    private static boolean sIsLargeScreen = false;
    /**
     * 是否是大屏手机
     *
     * @return true - 是大屏手机
     */
    public static boolean isLargeScreen() {
        return sIsLargeScreen;
    }
    /**
     * 设置是否是大屏手机
     *
     * @param isLargeScreen 是大屏手机
     */
    public static void setIsLargeScreen(boolean isLargeScreen) {
        Confirg.sIsLargeScreen = isLargeScreen;
    }
}
